package com.kotlin.heimaplayer.ui.fragment

import com.kotlin.heimaplayer.adapter.BaseListAdapter
import com.kotlin.heimaplayer.adapter.YueDanAdapter
import com.kotlin.heimaplayer.base.BaseListFragment
import com.kotlin.heimaplayer.base.BaseListPresenter
import com.kotlin.heimaplayer.model.YueDanItemBean
import com.kotlin.heimaplayer.presenter.impl.YueDanPresnterImpl
import com.kotlin.heimaplayer.widget.YueDanItemView

class YueDanFragment : BaseListFragment<List<YueDanItemBean>, YueDanItemBean, YueDanItemView>() {
    override fun getSpecialAdapter(): BaseListAdapter<YueDanItemBean, YueDanItemView> {
        return YueDanAdapter()
    }

    override fun getSpecialPresenter(): BaseListPresenter {
        return YueDanPresnterImpl(this)
    }

    override fun getList(response: List<YueDanItemBean>?): List<YueDanItemBean>? {
        return response
    }

}